#pragma once

enum AbilityType
{
	ACTIVE,
	PASSIVE
};

enum Target
{
	PLAYER,
	ENEMY
};

class Ability
{
public:
	Ability(char* name);
	//~Ability(void);
	bool executeAbility();
	//getters
	char* getName();
	AbilityType getType();
	Target getTarget();
	int getRange();
	int getDamage();
	int getHeal();
	int getHealth();
	int getEnergy();
	int getForce();

private:
	bool applyPassiveEffect();
	bool extractXMLdata();

	char* mpName;
	AbilityType mType;
	int mRange;
	int mDamage;
	int mHealth;
	int mEnergy;
	int mHeal;
	int mForce;
	Target mTarget;
};